package com.cy.service;

import java.util.List;

import com.cy.bean.GameList;
import com.cy.dao.BuyGameDao;
import com.cy.dao.BuyGameDaoImpl;

public class BuyGameServiceImpl implements BuyGameService {

	BuyGameDao buyGameDao = new BuyGameDaoImpl();

	@Override
	public int findTotal() {
		return buyGameDao.findTotal();
	}

	@Override
	public List<GameList> findAllByPage(int page, String namevalue, int nowid) {
		return buyGameDao.findAllByPage(page, namevalue, nowid);
	}

}
